package com.skwen.delivery.superdelivery.address;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.ImageButton;
import android.widget.TextView;

import com.skwen.delivery.superdelivery.BaseActivity;
import com.skwen.delivery.superdelivery.R;
import com.yanzhenjie.recyclerview.swipe.SwipeMenuRecyclerView;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * Created by skwen on 2017/11/19.
 * SuperDelivery
 */

public class SendAddress extends BaseActivity {


    @BindView(R.id.left_button)
    ImageButton mLeftButton;
    @BindView(R.id.title_name)
    TextView mTitleName;
    @BindView(R.id.add_address)
    TextView mAddAddress;
    @BindView(R.id.recycler_view)
    SwipeMenuRecyclerView mRecyclerView;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.send_address_layout);
        ButterKnife.bind(this);
        initViews();
    }

    @OnClick({R.id.left_button, R.id.add_address})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.left_button:
                finish();
                break;
            case R.id.add_address:
                break;
        }
    }


    private void initViews(){
        mTitleName.setText("发件地址");
    }
}
